package com.zzyl.nursing.task;

import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * TODO
 *
 * @Author mr.zhang
 * @Date 2025/7/28 16:05
 */
@Component("contractJob")
@Slf4j
public class ContractJob {
    @Autowired
    private IContractService iContractService;
    public void updateContractStatusJob(){
        iContractService.updateContractStatus();
        log.info("更新合同状态成功!");
    }
}
